Context-Free Languages of Sub-exponential Growth
نویسندگان
چکیده
There do not exist context–free languages of intermediate growth. The function γ whose value at each non–negative integer n is the number of words on length n in a fixed formal language L is called the growth function of L. Flajolet [3] asked if there are context–free languages of intermediate growth; that is, such that γ is not bounded above by a polynomial, but lim sup γ(n)/r = 0 for all r > 1. The answer to this question is a corollary to the following theorem. Theorem 1. If L is a context–free language with growth function γ, then either there is a number r > 1 and integer n0 such that γ(n) ≥ r n for all n ≥ n0, or else L is a bounded language. A bounded language is one which is a subset of w 1 · · ·w n for some words {w1, . . . , wn}. Since it is clear that the growth of a bounded language is bounded above by a polynomial, we have the desired corollary. Corollary 2. There do not exist context–free languages of intermediate growth. We note that by a recent result of Grigorchuk and Mach̀i there are indexed languages of intermediate growth [4]. Corollary 2 was obtained independently by Roberto Incitti [6]. Theorem 1 occurs in our previous work [1] as a remark that the proof given there of the weaker result [1, Proposition 1.3] suffices for Theorem 1. In this note we give a quicker proof of Theorem 1 based on work of Ginsburg and Spanier [5], who also obtain a corresponding decidability result. Theorem 3 ([5, Theorem 5.2]). It is decidable whether or not the language L generated by a given context–free grammar is bounded; and if L is bounded, one can effectively find words {w1, . . . , wn} such that L ⊂ w 1 · · ·w n. 1991 Mathematics Subject Classification. 68Q45.
منابع مشابه
Growth and Ergodicity of Context-free Languages
A language L over a finite alphabet Σ is called growth-sensitive if forbidding any set of subwords F yields a sublanguage LF whose exponential growth rate is smaller than that of L. It is shown that every ergodic unambiguous, nonlinear context-free language is growth-sensitive. “Ergodic” means for a context-free grammar and language that its dependency di-graph is strongly connected. The same r...
متن کاملOn the widths of regular and context free languages, with an application to information flow
Given a partially-ordered finite alphabet Σ and a language L ⊆ Σ∗, how large can an antichain in L be (where L is ordered by the lexicographic ordering)? This fundamental property of partial orders is known as the width and its computation is the central extremal problem for partially ordered sets. More precisely, since L will in general be infinite, we should ask about the rate of growth of ma...
متن کاملDeciding Regularity of Hairpin Completions of Regular Languages in Polynomial Time
The hairpin completion is an operation on formal languages that has been inspired by the hairpin formation in DNA biochemistry and by DNA computing. In this paper we investigate the hairpin completion of regular languages. It is well known that hairpin completions of regular languages are linear context-free and not necessarily regular. As regularity of a (linear) context-free language is not d...
متن کاملGrowth-sensitivity of context-free languages
A language L over a )nite alphabet is called growth-sensitive if forbidding any set of subwords F yields a sub-language L whose exponential growth rate is smaller than that of L. It is shown that every (essentially) ergodic non-linear context-free language of convergent type is growth-sensitive. “Ergodic” means that the dependency di-graph of the generating context-free grammar is strongly conn...
متن کاملOn the Equivalence, Containment, and Covering Problems for the Regular and Context-Free Languages
We consider the complexity of the equivalence and containment problems for regular expressions and context-free grammars, concentrating on the relationship between complexity and various language properties. Finiteness and boundedness of languages are shown to play important roles in the complexity of these problems. An encoding into grammars of Tur ing machine computations exponential in the s...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- J. Comput. Syst. Sci.
دوره 64 شماره
صفحات -
تاریخ انتشار 2002